projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d340dc0
)
python.el: Silence left over warning in last commit
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 4 Feb 2022 18:39:19 +0000
(13:39 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 4 Feb 2022 18:39:19 +0000
(13:39 -0500)
* lisp/progmodes/python.el
(python-shell-calculate-process-environment): Declare
tramp-remote-process-environment before using it.
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index ba8e3e811d4338bb537d93f6ece4ba7bd996019d..d83290fe457bb708c75d4776dacaa86011219872 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-2208,6
+2208,7
@@
virtualenv."
(defun python-shell-calculate-process-environment ()
(declare (obsolete python-shell--calculate-process-environment "29.1"))
+ (defvar tramp-remote-process-environment)
(let* ((remote-p (file-remote-p default-directory)))
(append (python-shell--calculate-process-environment)
(if remote-p